package com.dy.service;

import com.dy.entity.Order;
import com.dy.service.impl.FeignRedisServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Auther: dy
 * @Date: 2022/4/24 - 04 - 24 - 22:22
 * @Description: com.dy.service
 * @version: 1.0
 */
@FeignClient(name = "redis",fallback = FeignRedisServiceImpl.class)
public interface IFeignRedisService {
    @PostMapping("/redis/shakedown")
    public boolean shakedown(@RequestBody Order order);
}
